import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { VueMasonryPlugin } from "vue-masonry";

// 顶部导航栏
import { NavBar } from "vant";
// 底部导航栏
import { Tabbar, TabbarItem } from "vant";
// 详情页下面
import { ActionBar, ActionBarIcon, ActionBarButton } from "vant";
// 购物车
import { Card } from "vant";
// 滑动删除
import { SwipeCell } from "vant";
// 结账
import { SubmitBar } from "vant";
// 轮播图
import { Swipe, SwipeItem } from "vant";
// 地址
import { AddressList } from "vant";

//引入
import "normalize.css";
import "./style/index.scss";
import Vant from "vant";
import { Icon } from "vant";
import "vant/lib/index.css";
createApp(App)
  .use(AddressList)
  .use(Tabbar)
  .use(TabbarItem)
  .use(SwipeCell)
  .use(NavBar)
  .use(ActionBar)
  .use(ActionBarIcon)
  .use(ActionBarButton)
  .use(Card)
  .use(SubmitBar)
  .use(Icon)
  .use(Swipe)
  .use(SwipeItem)
  .use(VueMasonryPlugin)
  .use(Vant)
  .use(store)
  .use(router)
  .mount("#app");
